<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>三栏布局</title>
    <style>
        *{margin:0;padding: 0}
        .left{
            float: left;
            width:200px;
            height:100vh;
            background: deeppink;
        }
        .right{
            overflow: hidden;
            background: mediumpurple;
            height:100vh;
        }
        .left:nth-child(2){
            float: right;
            width:200px;
            height:100vh;
            background: deeppink;
        }
    </style>
</head>
<body>
<div class="left">1</div>
<div class="left">注意我的位置</div>
<div class="right">因为bfc的区域不会与float的元素区域重叠 所以自适应宽度，所以放在最后面</div>
</body>
</html>
